<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { dom } from './test.tsx';

const a = ref('a');

const fn = () => {
  console.log('fn');
};
onMounted(() => {
  fn();
});
</script>

<template>
  <dom />
  <div>页面2----{{ a }}</div>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
